package gms.dao.match;

import java.util.List;

import gms.entities.match.MatchApply;
import gms.entities.match.MatchInfo;

/**
 * 赛事申请表Dao接口
 * @author damage
 *
 */
public interface MatchApplyDao {
	
	public boolean save(MatchApply matchApply);  //保存赛事申请表
	public int findCount();  //查询赛事申请表总记录数
	public List<MatchApply> findByPage(int begin, int pageSize); //分页查询赛事申请表
	public List<MatchApply> findByState(String state);  //通过状态查找赛事申请表
	public MatchApply findByID(int matchApplyID);  //通过ID查询赛事申请表
	public void update(MatchApply matchApply);  //更新赛事申请表
	public void toMatchInfo(MatchInfo matchInfo);  //把转化后得到的赛事信息表保存
	public void delete(MatchApply matchApply);  //删除赛事申请表
}
